/**
 * 授权 API
 */
import {
	http
} from '../request/main.js';


/**
 * 获取首页数据
 * 
 * @returns {Promise}
 */
export function getHomeData(desk_id) {
	return http.post('/page/getHomeData', {
		desk_id
	})
}

/**
 * 获取下单数据
 * 
 * @returns {Promise}
 */
export function getOrderData() {
	return http.post('/page/getOrderData')
}
